phidget21.phidmanager

This file is part of libphidget21

Copyright 2006-2015 Phidgets Inc <patrick@phidgets.com>

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <http://www.gnu.org/licenses/>

Members

Aliases

CPhidgetManagerHandle
alias CPhidgetManagerHandle = _CPhidgetManager*
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CPhidgetManager_set_OnAttach_Handler_Func
alias CPhidgetManager_set_OnAttach_Handler_Func = int function(CPhidgetHandle phid, void* userPtr)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CPhidgetManager_set_OnDetach_Handler_Func
alias CPhidgetManager_set_OnDetach_Handler_Func = int function(CPhidgetHandle phid, void* userPtr)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CPhidgetManager_set_OnError_Handler_Func
alias CPhidgetManager_set_OnError_Handler_Func = int function(CPhidgetManagerHandle phidm, void* userPtr, int errorCode, const char* errorString)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CPhidgetManager_set_OnServerConnect_Handler_Func
alias CPhidgetManager_set_OnServerConnect_Handler_Func = int function(CPhidgetManagerHandle phidm, void* userPtr)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CPhidgetManager_set_OnServerDisconnect_Handler_Func
alias CPhidgetManager_set_OnServerDisconnect_Handler_Func = int function(CPhidgetManagerHandle phidm, void* userPtr)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Static variables

CPhidgetManager_close
int function(CPhidgetManagerHandle phidm) CPhidgetManager_close;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CPhidgetManager_create
int function(CPhidgetManagerHandle* phidm) CPhidgetManager_create;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CPhidgetManager_delete
int function(CPhidgetManagerHandle phidm) CPhidgetManager_delete;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CPhidgetManager_freeAttachedDevicesArray
int function(CPhidgetHandle* phidArray) CPhidgetManager_freeAttachedDevicesArray;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CPhidgetManager_getAttachedDevices
int function(CPhidgetManagerHandle phidm, CPhidgetHandle** phidArray, int* count) CPhidgetManager_getAttachedDevices;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CPhidgetManager_getServerAddress
int function(CPhidgetManagerHandle phidm, const char** address, int* port) CPhidgetManager_getServerAddress;

Gets the address and port of a remotely opened Phidget Manager. This will fail if the manager was opened locally.

CPhidgetManager_getServerID
int function(CPhidgetManagerHandle phidm, const char** serverID) CPhidgetManager_getServerID;

Gets the server ID of a remotely opened Phidget Manager. This will fail if the manager was opened locally.

CPhidgetManager_getServerStatus
int function(CPhidgetManagerHandle phidm, int* serverStatus) CPhidgetManager_getServerStatus;

Gets the connected to server status of a remotely opened Phidget Manager. This will fail if the manager was opened locally.

CPhidgetManager_open
int function(CPhidgetManagerHandle phidm) CPhidgetManager_open;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CPhidgetManager_openRemote
int function(CPhidgetManagerHandle phidm, const char* serverID, const char* password) CPhidgetManager_openRemote;

Opens a Phidget manager remotely by ServerID. Note that this rquires Bonjour (mDNS) to be running on both the host and the server.

CPhidgetManager_openRemoteIP
int function(CPhidgetManagerHandle phidm, const char* address, int port, const char* password) CPhidgetManager_openRemoteIP;

Opens a Phidget manager remotely by address and port.

CPhidgetManager_set_OnAttach_Handler
int function(CPhidgetManagerHandle phidm, CPhidgetManager_set_OnAttach_Handler_Func fptr, void* userPtr) CPhidgetManager_set_OnAttach_Handler;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CPhidgetManager_set_OnDetach_Handler
int function(CPhidgetManagerHandle phidm, CPhidgetManager_set_OnDetach_Handler_Func fptr, void* userPtr) CPhidgetManager_set_OnDetach_Handler;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CPhidgetManager_set_OnError_Handler
int function(CPhidgetManagerHandle phidm, CPhidgetManager_set_OnError_Handler_Func fptr, void* userPtr) CPhidgetManager_set_OnError_Handler;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CPhidgetManager_set_OnServerConnect_Handler
int function(CPhidgetManagerHandle phidm, CPhidgetManager_set_OnServerConnect_Handler_Func fptr, void* userPtr) CPhidgetManager_set_OnServerConnect_Handler;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CPhidgetManager_set_OnServerDisconnect_Handler
int function(CPhidgetManagerHandle phidm, CPhidgetManager_set_OnServerDisconnect_Handler_Func fptr, void* userPtr) CPhidgetManager_set_OnServerDisconnect_Handler;

Sets a server disconnect handler callback function. This is used for opening Phidget Managers remotely, and is called when a connection to the server has been lost.

Structs

_CPhidgetManager
struct _CPhidgetManager

A Phidget Manager handle.

Meta